package com.hzncc.scaffold.entity.Other;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 证书表
 * </p>
 *
 * @author DrunkBear
 * @since 2022-04-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Certificate implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 证书编号
     */
    @TableField("certNum")
    private String certNum;

    /**
     * 记录编号
     */
    @TableField("recordId")
    private Integer recordId;

    /**
     * 用户编号
     */
    @TableField("userId")
    private Integer userId;

    /**
     * 图片链接
     */
    @TableField("imgUrl")
    private String imgUrl;

    /**
     * 逻辑删除
     */
    @TableField("isDelete")
    private Boolean isDelete;

    /**
     * 创建时间
     */
    @TableField("createTime")
    private String createTime;

    /**
     * 0/教学课堂  1/1+x模块
     */
    @TableField("belongTo")
    private Boolean belongTo;


}
